package com.yyge.entity;

import java.util.HashMap;
import java.util.Map;

/**
 * 适用于条件查询时，前端传递的查询参数
 */
public class BaseEntity {
    private Map<String, Object> params;

    public Map<String, Object> getParams() {
        if (params == null) {
            params = new HashMap<>();
        }
        return params;
    }

    public void setParams(Map<String, Object> params) {
        this.params = params;
    }
}